﻿using Hotel.Model;
using Hotel.Model.admin;
using Hotel.Model.Shop;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Hotel.DAL
{
    public class HotelConText : DbContext
    {
        public HotelConText(DbContextOptions options) : base(options)
        {
        }


        public DbSet<adminModel> admins { get; set; }//管理员   


        public DbSet<DisCountModel> disCounts { get; set; }//优惠卷


       public DbSet<ShopModel> shops { get; set; }//门店
    }
}
